package model.impl;

import bean.UserBean;
import model.IUserRegisterModel;
import model.OnRegisterListener;

/**
 * Created by Administrator on 2016/4/23.
 */
public class UserRegisterModel implements IUserRegisterModel {
    @Override
    public void register(final UserBean userBean, OnRegisterListener onRegisterListener) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                String LoginName = userBean.getLoginName();
                String username = userBean.getUsername();
                String password = userBean.getPassword();
                String sex = userBean.getSex();
                String birthday = userBean.getBirthday();
                String signature = userBean.getSignature();
                String url = "http://test.mingslife.com/AppServer/user_save.action?" +
                        "loginName=" + LoginName +
                        "&username=" + username +
                        "&password=" + password +
                        "&sex=" + sex +
                        "&birthday=" + birthday +
                        "&signature=" + signature;
            }
        });
    }
}
